package cc.idoone.spring_boot_hello.mybatis.h2.dao;

/**
 * @author hemj
 * @since 2017-10-20
 */
public interface BaseMapper<T, I> {

	int deleteByPrimaryKey(I id);

	int insert(T record);

	int insertSelective(T record);

	T selectByPrimaryKey(I id);

	int updateByPrimaryKeySelective(T record);

	int updateByPrimaryKey(T record);

}
